<template>
  <div class="container">
    <div class="opt-area-02">
      <div class="left-con btn-action">
        <div class="input-frame" style="width: 164px">
          <Input
            type="text"
            placeholder="请输入区县"
            style="width: 164px"
            v-model="params.qx"
            icon="ios-search"
          />
        </div>
        <div class="input-frame" style="width: 164px">
          <Input
            type="text"
            placeholder="请输入街道"
            style="width: 164px"
            v-model="params.jd"
            icon="ios-search"
          />
        </div>
        <div class="input-frame" style="width: 164px">
          <Input
            type="text"
            placeholder="请输入社区"
            style="width: 164px"
            v-model="params.sq"
            icon="ios-search"
          />
        </div>
        <div class="input-frame" style="width: 164px">
          <Input
            type="text"
            placeholder="请输入小区"
            style="width: 164px"
            v-model="params.xqmc"
            icon="ios-search"
          />
        </div>
        <div class="input-frame" style="width: 164px">
          <Input
            type="text"
            placeholder="请输入姓名"
            style="width: 164px"
            v-model="params.name"
            icon="ios-search"
          />
        </div>
        <div class="input-frame" style="width: 164px">
          <Input
            type="text"
            placeholder="请输入联系电话"
            style="width: 164px"
            v-model="params.phone"
            icon="ios-search"
          />
        </div>
        <Button class="btnClass" type="info" size="small" @click="searchData(1)">搜索</Button>
        <!-- <Button class="btnClass" type="success" size="small" @click="addData(1)">添加</Button> -->
        <Button class="btnClass" type="info" size="small" @click="exportPeopleData()">导入</Button>
        <Button class="btnClass" type="primary" size="small" @click="findPartyMemberNoPageList()">导出</Button>
        <Button class="btnClass" type="error" size="small">
          <a :href="templateUrl" style="color: white">下载导入模板</a>
        </Button>
      </div>
      <div class="left-con">
        <div class="input-frame" style="width: 164px">
          <Select placeholder="请输入职责" style="width: 164px" v-model="params.zz">
            <Option value="1">小区点长</Option>
            <Option value="2">应急点长</Option>
            <Option value="3">荣誉点长</Option>
            <Option value="1">物业管理员</Option>
            <Option value="2">卡口值守员</Option>
            <Option value="3">医疗防疫巡查员</Option>
            <Option value="1">社区警务巡查员</Option>
            <Option value="2">街道专管员</Option>
          </Select>
        </div>
        <div class="input-frame" style="width: 164px">
          <Select placeholder="请输入干部类型" style="width: 164px" v-model="params.gblx">
            <Option value="1">市直包保干部</Option>
            <Option value="2">区直包保干部</Option>
          </Select>
        </div>
      </div>
    </div>
    <Table
      border
      :columns="columns"
      :data="dataList"
      size="small"
      ref="table"
      class="auto-column-size-table"
    >
      <template slot="sex" slot-scope="{ row, index }">
        <span v-if="row.sex == '0'">男</span>
        <span v-else-if="row.sex == '1'">女</span>
      </template>
      <template slot="department" slot-scope="{ row, index }">
        <span v-if="row.department == '1'">省直机关</span>
        <span v-else-if="row.department == '2'">驻沈省（中）直企业</span>
        <span v-else-if="row.department == '3'">驻沈省（部）属高校</span>
      </template>
      <template slot="action" slot-scope="{ row }">
        <Row style="margin-bottom: 5px; margin-top: 2px">
          <Button
            class="table-action-btn"
            style="margin-right: 5px"
            type="success"
            size="small"
            @click="show(row, true)"
          >编辑</Button>
          <Button class="table-action-btn" type="error" size="small" @click="deletePeople(row)">删除</Button>
        </Row>
      </template>
    </Table>
    <Row type="flex" justify="end" class="page_style">
      <Page
        :current="params.pageNo"
        :total="params.totalRecord"
        show-sizer
        :page-size="params.pageSize"
        show-elevator
        @on-change="pageAction"
        @on-page-size-change="pageSizeChange"
      />
    </Row>
    <Drawer title="三长五员信息" v-model="drawer1" width="720">
      <Form :model="formData">
        <Row :gutter="32">
          <Col span="24">
            <FormItem label="姓名" label-position="top">
              <Input v-model="formData.name" placeholder="请填写姓名" />
            </FormItem>
          </Col>
        </Row>
        <Row :gutter="32">
          <Col span="24">
            <FormItem label="性别" label-position="top">
              <RadioGroup v-model="formData.sex">
                <Radio label="0">男</Radio>
                <Radio label="1">女</Radio>
              </RadioGroup>
            </FormItem>
          </Col>
        </Row>
        <Row :gutter="32">
          <Col span="24">
            <FormItem label="生日" label-position="top">
              <DatePicker
                type="date"
                placeholder="请选择生日"
                v-model="formData.birthday"
                style="width: 100%;"
              ></DatePicker>
            </FormItem>
          </Col>
        </Row>
        <Row :gutter="32">
          <Col span="24">
            <FormItem label="手机号码" label-position="top">
              <Input v-model="formData.mobile" placeholder="请填写手机号码" />
            </FormItem>
          </Col>
        </Row>
        <Row :gutter="32">
          <Col span="24">
            <FormItem label="部门" label-position="top">
              <Select v-model="formData.department">
                <Option value="1">省直机关</Option>
                <Option value="2">驻沈省（中）直企业</Option>
                <Option value="3">驻沈省（部）属高校</Option>
              </Select>
            </FormItem>
          </Col>
        </Row>
        <Row :gutter="32">
          <Col span="24">
            <FormItem label="单位" label-position="top">
              <Input v-model="formData.company" placeholder="请填写单位" />
            </FormItem>
          </Col>
        </Row>
        <Row :gutter="32">
          <Col span="24">
            <FormItem label="职务" label-position="top">
              <Input v-model="formData.duty" placeholder="请填写职务" />
            </FormItem>
          </Col>
        </Row>
        <Row :gutter="32">
          <Col span="24">
            <FormItem label="报到时间" label-position="top">
              <DatePicker
                type="date"
                placeholder="请选择报到时间"
                v-model="formData.checkin_time"
                style="width: 100%;"
              ></DatePicker>
            </FormItem>
          </Col>
        </Row>
        <Row :gutter="32">
          <Col span="24">
            <FormItem label="特长" label-position="top">
              <Input v-model="formData.strongpoint" placeholder="请填写特长" />
            </FormItem>
          </Col>
        </Row>
      </Form>
      <div class="demo-drawer-footer">
        <Button style="margin-right: 8px" @click="drawer1 = false">取消</Button>
        <Button type="primary" @click="complete()">确定</Button>
      </div>
    </Drawer>
    <Modal v-model="importModal" title="导入信息">
      <div>
        <Tag color="error" size="medium">提示：一次不要导入过多数据</Tag>
      </div>
      <Button
        type="primary"
        size="small"
        style="margin-top: 5px;margin-right:5px"
        @click="importExcel"
      >导入三长五员信息</Button>
    </Modal>
    <div v-if="importModalExcel">
      <Modal v-model="importModalExcel" width="1800" title="导入三长五员数据">
        <dispose-excel
          :columns="exportColumnsExcel"
          :url="exportUrlExcel"
          :failedUrl="exportFailedUrlExcel"
          @getExportData="getExportData"
        ></dispose-excel>
      </Modal>
    </div>
  </div>
</template>

<script>
import { createPartyMember, updatePartyMember, getMzbSwList, getSzwyListNotPage } from '@/api/grid'
import { date2str } from '@/api/eventlist'
import { deletePartyMemberID } from '../../../../api/eventlist'
import DisposeExcel from '../components/dispose-excel/dispose-excel'
export default {
  name: 'party-member-list',
  components: { DisposeExcel },
  data () {
    return {
      importModal: false,
      importModalExcel: false,
      // 导入参数
      exportColumnsExcel: [
        {
          align: 'center',
          title: '序号',
          type: 'index',
          width: '100'
        },

        {
          align: 'center',
          title: '区县',
          key: 'qx',
          minWidth: '100'

        },

        {
          align: 'center',
          title: '街道',
          key: 'jd',
          minWidth: '100'

        },
        {
          align: 'center',
          title: '市值单位包保',
          key: 'szdwbb',
          minWidth: '100'

        },
        {
          align: 'center',
          title: '社区',
          key: 'sq',
          minWidth: '100'

        },

        {
          align: 'center',
          title: '市直单位所属党支部包保',
          minWidth: 100,
          key: 'szdwssdzbbb'
        },

        {
          align: 'center',
          title: '小区名称',
          key: 'xqmc',
          minWidth: 100
        },

        {
          align: 'center',
          title: '小区点长姓名',
          key: 'name_xq',
          minWidth: '100'
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_xq',
          minWidth: 100
        },
        {
          align: 'center',
          title: '市直包保干部应急点长姓名',
          key: 'name_sz',
          minWidth: 200
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_sz',
          minWidth: 100
        },
        {
          align: 'center',
          title: '区直包保干部应急点长姓名',
          key: 'name_qz',
          minWidth: 200
        },
        {
          align: 'center',
          title: '所在单位',
          key: 'address_qz',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_qz',
          minWidth: 100
        },
        {
          align: 'center',
          title: '荣誉点长姓名',
          key: 'name_ry',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_ry',
          minWidth: 100
        },
        {
          align: 'center',
          title: '物业管理员姓名',
          key: 'name_wy',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_wy',
          minWidth: 100
        },
        {
          align: 'center',
          title: '卡口值守员姓名',
          key: 'name1_kk',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone1_kk',
          minWidth: 100
        },

        {
          align: 'center',
          title: '卡口值守员姓名',
          key: 'name2_kk',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone2_kk',
          minWidth: 100
        },

        {
          align: 'center',
          title: '卡口值守员姓名',
          key: 'name3_kk',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone3_kk',
          minWidth: 100
        },

        {
          align: 'center',
          title: '卡口值守员姓名',
          key: 'name4_kk',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone4_kk',
          minWidth: '100'
        },

        {
          align: 'center',
          title: '卡口值守员姓名',
          key: 'name5_kk',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone5_kk',
          minWidth: 100
        },

        {
          align: 'center',
          title: '医疗防疫巡查员姓名',
          key: 'name_yl',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_yl',
          minWidth: 100
        },

        {
          align: 'center',
          title: '社区警务巡查员姓名',
          key: 'name_sq',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_sq',
          minWidth: 100
        },

        {
          align: 'center',
          title: '街道专管员姓名',
          key: 'name_jd',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_jd',
          minWidth: 100
        }
      ],
      exportUrlExcel: 'api/ac/grid/mzbSwService/insertData',
      exportFailedUrlExcel: '',
      columns: [
        {
          align: 'center',
          title: '序号',
          type: 'index',
          width: '100'
        },

        {
          align: 'center',
          title: '区县',
          key: 'qx',
          minWidth: 100

        },

        {
          align: 'center',
          title: '街道',
          key: 'jd',
          minWidth: 100

        },
        {
          align: 'center',
          title: '市值单位包保',
          key: 'szdwbb',
          minWidth: 100

        },
        {
          align: 'center',
          title: '社区',
          key: 'sq',
          minWidth: 100

        },

        {
          align: 'center',
          title: '市直单位所属党支部包保',
          minWidth: 200,
          key: 'szdwssdzbbb'
        },

        {
          align: 'center',
          title: '小区名称',
          key: 'xqmc',
          minWidth: 100
        },

        {
          align: 'center',
          title: '小区点长姓名',
          key: 'name_xq',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_xq',
          minWidth: 100
        },
        {
          align: 'center',
          title: '市直包保干部应急点长姓名',
          key: 'name_sz',
          minWidth: 200
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_sz',
          minWidth: 100
        },
        {
          align: 'center',
          title: '区直包保干部应急点长姓名',
          key: 'name_qz',
          minWidth: 200
        },
        {
          align: 'center',
          title: '所在单位',
          key: 'address_qz',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_qz',
          minWidth: 100
        },
        {
          align: 'center',
          title: '荣誉点长姓名',
          key: 'name_ry',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_ry',
          minWidth: 100
        },
        {
          align: 'center',
          title: '物业管理员姓名',
          key: 'name_wy',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_wy',
          minWidth: 100
        },
        {
          align: 'center',
          title: '卡口值守员姓名',
          key: 'name1_kk',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone1_kk',
          minWidth: 100
        },

        {
          align: 'center',
          title: '卡口值守员姓名',
          key: 'name2_kk',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone2_kk',
          minWidth: 100
        },

        {
          align: 'center',
          title: '卡口值守员姓名',
          key: 'name3_kk',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone3_kk',
          minWidth: 100
        },

        {
          align: 'center',
          title: '卡口值守员姓名',
          key: 'name4_kk',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone4_kk',
          minWidth: 100
        },

        {
          align: 'center',
          title: '卡口值守员姓名',
          key: 'name5_kk',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone5_kk',
          minWidth: 100
        },

        {
          align: 'center',
          title: '医疗防疫巡查员姓名',
          key: 'name_yl',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_yl',
          minWidth: 100
        },

        {
          align: 'center',
          title: '社区警务巡查员姓名',
          key: 'name_sq',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_sq',
          minWidth: 100
        },

        {
          align: 'center',
          title: '街道专管员姓名',
          key: 'name_jd',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_jd',
          minWidth: 100
        }
      ],
      exportColumns: [
        {
          align: 'center',
          title: '序号',
          type: 'index',
          width: '100'
        },

        {
          align: 'center',
          title: '区县',
          key: 'qx',
          minWidth: 100

        },

        {
          align: 'center',
          title: '街道',
          key: 'jd',
          minWidth: 100

        },
        {
          align: 'center',
          title: '市值单位包保',
          key: 'szdwbb',
          minWidth: 100

        },
        {
          align: 'center',
          title: '社区',
          key: 'sq',
          minWidth: 100

        },

        {
          align: 'center',
          title: '市直单位所属党支部包保',
          minWidth: 200,
          key: 'szdwssdzbbb'
        },

        {
          align: 'center',
          title: '小区名称',
          key: 'xqmc',
          minWidth: 100
        },

        {
          align: 'center',
          title: '小区点长姓名',
          key: 'name_xq',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_xq',
          minWidth: 100
        },
        {
          align: 'center',
          title: '市直包保干部应急点长姓名',
          key: 'name_sz',
          minWidth: 200
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_sz',
          minWidth: 100
        },
        {
          align: 'center',
          title: '区直包保干部应急点长姓名',
          key: 'name_qz',
          minWidth: 200
        },
        {
          align: 'center',
          title: '所在单位',
          key: 'address_qz',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_qz',
          minWidth: 100
        },
        {
          align: 'center',
          title: '荣誉点长姓名',
          key: 'name_ry',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_ry',
          minWidth: 100
        },
        {
          align: 'center',
          title: '物业管理员姓名',
          key: 'name_wy',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_wy',
          minWidth: 100
        },
        {
          align: 'center',
          title: '卡口值守员姓名',
          key: 'name1_kk',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone1_kk',
          minWidth: 100
        },

        {
          align: 'center',
          title: '卡口值守员姓名',
          key: 'name2_kk',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone2_kk',
          minWidth: 100
        },

        {
          align: 'center',
          title: '卡口值守员姓名',
          key: 'name3_kk',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone3_kk',
          minWidth: 100
        },

        {
          align: 'center',
          title: '卡口值守员姓名',
          key: 'name4_kk',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone4_kk',
          minWidth: 100
        },

        {
          align: 'center',
          title: '卡口值守员姓名',
          key: 'name5_kk',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone5_kk',
          minWidth: 100
        },

        {
          align: 'center',
          title: '医疗防疫巡查员姓名',
          key: 'name_yl',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_yl',
          minWidth: 100
        },

        {
          align: 'center',
          title: '社区警务巡查员姓名',
          key: 'name_sq',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_sq',
          minWidth: 100
        },

        {
          align: 'center',
          title: '街道专管员姓名',
          key: 'name_jd',
          minWidth: 100
        },
        {
          align: 'center',
          title: '联系电话',
          key: 'phone_jd',
          minWidth: 100
        }
      ],
      dataList: [],
      formData: {},
      drawer1: false,
      params: {
        pageNo: 1,
        pageSize: 10,
        totalRecord: 0
      },
      addFlag: true,
      big_type_dict: '',
      severUserInfo: {},
      templateUrl: 'http://imgdl.tripln.top/webhdfs/v1/itemorder/589056cb-f737-11ea-a283-0242ac110002/SQ1660132498979/沈阳市_三长五员数据模板_9033134697.xlsx?op=OPEN&namenoderpcaddress=hadoop01:9000&offset=0'
    }
  },
  methods: {
    pageAction (page) {
      this.params.pageNo = page
      this.init()
    },
    pageSizeChange (e) {
      this.params.pageSize = e
      this.init()
    },
    show (item, flag) {
      this.drawer1 = true
      this.addFlag = flag
      this.formData.name = item.name
      this.formData.sex = item.sex
      this.formData.birthday = item.birthday
      this.formData.mobile = item.mobile
      this.formData.department = item.department
      this.formData.company = item.company
      this.formData.duty = item.duty
      this.formData.strongpoint = item.strongpoint
      this.formData.checkin_time = item.checkin_time
      this.formData.id = item.id
    },
    complete () { // 诉求提报
      let url = ''
      if (this.formData.id) {
        url = updatePartyMember
      } else {
        url = createPartyMember
      }
      this.formData.birthday = date2str(this.formData.birthday)
      this.formData.checkin_time = date2str(this.formData.checkin_time)
      url(this.formData).then(res => {
        if (res.data.errcode === 0) {
          this.$Notice.success({
            title: '成功提示',
            desc: '添加党员信息成功'
          })
          this.drawer1 = false
          this.init()
          return
        }
        this.$Notice.error({
          title: '错误提示',
          desc: res.data.errmsg
        })
      })
    },
    addData () {
      this.addFlag = true
      this.drawer1 = true
      this.formData = {}
    },
    init () { // 列表数据
      getMzbSwList(this.params).then(res => {
        if (res.data.errcode === 0) {
          this.dataList = res.data.data.results
          this.params.totalRecord = res.data.data.totalRecord
          return
        }
        this.$Notice.error({
          title: '错误提示',
          desc: res.data.errmsg
        })
      })
    },
    searchData () { // 搜索
      this.params.pageNo = 1
      this.init()
    },
    deletePeople (e) {
      let data = {
        id: e.id
      }
      deletePartyMemberID(data).then(ret => {
        if (ret.data.errcode === 0) {
          this.$Notice.success({ title: '删除成功！', desc: ret.data.errmsg })
          this.init()
        } else {
          this.$Notice.error({ title: '删除失败！', desc: ret.data.errmsg })
        }
      })
    },
    findPartyMemberNoPageList () { // 导出数据
      getSzwyListNotPage().then(ret => {
        if (ret.data.errcode === 0) {
          let data = ret.data.data
          this.$refs.table.exportCsv({
            filename: this.severUserInfo.company_name + '_三长五员数据',
            columns: this.exportColumns,
            data: data
          })
        } else {
          this.$Notice.error({ title: '删除失败！', desc: ret.data.errmsg })
        }
      })
    },
    exportPeopleData () {
      this.importModal = true
    },
    importExcel () {
      this.importModalExcel = true
    },
    getExportData () {
      this.init()
      this.importModal = false
    }
  },
  mounted () {
    this.severUserInfo = this.$store.state.user.severUserInfo
    this.init()
  }
}
</script>

<style scoped>
.auto-column-size-table table {
  table-layout: auto;
}
.container {
  padding: 12px;
}
.page_style {
  margin: 20px 5px;
}

.input-frame {
  width: 120px;
  margin-right: 10px;
  float: left;
}

.house-list > .group {
  background: white;
  padding: 10px;
  margin-top: 10px;
}

.house-list > .group > .item {
  border-bottom: 1px solid #f5f5f5;
  padding: 10px 0;
}

.house-list > .group > .item .top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.house-list > .group > .item .title {
  font-size: 14px;
  color: #333333;
}

.house-list > .group > .item .address {
  font-size: 12px;
  color: gray;
  display: flex;
  align-items: center;
}

.house-list > .group > .item .detail {
  font-size: 12px;
  color: dodgerblue;
}

.opt-area-02 {
  display: flex;
  align-items: center;
  flex-direction: column;
  border: 1px solid #abdcff;
  background-color: #f0faff;
  padding: 8px 16px 8px 16px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.opt-area-02 .right-con {
  width: 100%;
  margin-top: 5px;
  display: flex;
}

.opt-area-02 .left-con {
  font-size: 14px;
  width: 100%;
}

.opt-area-02 .left-con span {
  font-weight: bold;
}

.opt-area-02 .right-con input {
  width: 150px;
  margin-right: 10px;
}

.opt-area-02 .right-con .input-frame {
  width: 200px;
  margin-right: 10px;
}

.table-action-btn {
  margin-bottom: 3px;
}

.container >>> .ivu-btn-small {
  height: 24px;
  padding: 0 5px;
  font-size: 12px;
  border-radius: 3px;
}

.btn-action {
  margin-bottom: 10px;
}

.mp10 {
  margin-right: 10px;
}
.title-style {
  color: red;
}
.mb20 {
  margin-bottom: 20px;
}
.ivu-table-row {
  height: 57px;
}
.demo-spin-icon-load {
  animation: ani-demo-spin 1s linear infinite;
}
@keyframes ani-demo-spin {
  from {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.demo-spin-col {
  height: 100px;
  position: relative;
  /*border: 1px solid #eee;*/
}
.container >>> .ivu-icon-ios-arrow-forward:before {
  color: black;
}
.btnClass {
  margin-top: 5px;
  margin-right: 5px;
}
</style>
